.class Lcom/brixd/niceapp/activity/BaseDetailActivity$19;
.super Ljava/lang/Object;
.source "BaseDetailActivity.java"

# interfaces
.implements Lcom/brixd/niceapp/activity/fragment/adapter/DetailExpandableAdapter$OnCommentUpClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/BaseDetailActivity;->initWidgetsAction()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 746
    iput-object p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCommentUpClick(Landroid/view/View;Lcom/brixd/niceapp/model/DetailModel;)V
    .registers 12
    .param p1, "view"    # Landroid/view/View;
    .param p2, "detailModel"    # Lcom/brixd/niceapp/model/DetailModel;

    .prologue
    .line 750
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-nez v0, :cond_19

    .line 751
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    # setter for: Lcom/brixd/niceapp/activity/BaseDetailActivity;->mClickedView:Landroid/view/View;
    invoke-static {v0, p1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->access$1802(Lcom/brixd/niceapp/activity/BaseDetailActivity;Landroid/view/View;)Landroid/view/View;

    .line 752
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {}, Lcom/brixd/niceapp/util/SettingUtils;->getSignonMeiyixiaHint()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/brixd/niceapp/service/LoginService;->login(Landroid/content/Context;Ljava/lang/String;)V

    .line 790
    :cond_18
    :goto_18
    return-void

    .line 754
    :cond_19
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "DetailPageClickCommentUp"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 756
    invoke-static {p1}, Lcom/brixd/niceapp/animator/AnimatorUtils;->animateHeartbeat(Landroid/view/View;)V

    .line 758
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->access$1900(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/brixd/niceapp/util/RequestDelayHandler;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/brixd/niceapp/util/RequestDelayHandler;->isAbleToRequest(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_18

    .line 759
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/BaseDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->access$1900(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/brixd/niceapp/util/RequestDelayHandler;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/brixd/niceapp/util/RequestDelayHandler;->startRequest(Ljava/lang/Object;)V

    .line 761
    invoke-virtual {p2}, Lcom/brixd/niceapp/model/DetailModel;->getCommentModel()Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v7

    .line 763
    .local v7, "commentModel":Lcom/brixd/niceapp/model/CommentModel;
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v0

    invoke-static {v0}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(I)Lcom/brixd/niceapp/model/Token;

    move-result-object v8

    .line 764
    .local v8, "token":Lcom/brixd/niceapp/model/Token;
    iget-object v0, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$19;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {v7}, Lcom/brixd/niceapp/model/CommentModel;->getCommentId()I

    move-result v1

    invoke-virtual {v8}, Lcom/brixd/niceapp/model/Token;->getTimestamp()J

    move-result-wide v2

    invoke-virtual {v8}, Lcom/brixd/niceapp/model/Token;->getUid()I

    move-result v4

    invoke-virtual {v8}, Lcom/brixd/niceapp/model/Token;->getSecr()Ljava/lang/String;

    move-result-object v5

    new-instance v6, Lcom/brixd/niceapp/activity/BaseDetailActivity$19$1;

    invoke-direct {v6, p0, p1, v7}, Lcom/brixd/niceapp/activity/BaseDetailActivity$19$1;-><init>(Lcom/brixd/niceapp/activity/BaseDetailActivity$19;Landroid/view/View;Lcom/brixd/niceapp/model/CommentModel;)V

    invoke-interface/range {v0 .. v6}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->diggComment(IJILjava/lang/String;Lretrofit/Callback;)V

    goto :goto_18
.end method
